<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$site_url}/">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />
<title>{$page_title}</title>
<style>
body {
background:none repeat scroll 0 0 #FFFFFF;
color:#787878;
}

body, button, input, select, textarea, th {
font:12px/1.5 Tahoma,"hiragino sans gb",Helvetica,Arial;
}

body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, fieldset, lengend, button, input, textarea, th, td {
margin:0;
padding:0;
}
h1, h2, h3, h4, h5, h6 {
font-size:100%;
}
a {
color:#056EA1;
}

a {
text-decoration:none;
}
img {
display:block;
}

fieldset, img {
border:medium none;
}
ul, ol, li {
list-style:none outside none;
}
.clearfix {
}
.clearfix:after {
clear:both;
content:".";
display:block;
font-size:0;
height:0;
line-height:0;
visibility:hidden;
width:0;
}
</style>

</head> 
<body> 

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='top2'  iconname='top2' />
<!-- 顶部结束 alltop.html -->



<div class="clearfix" style="margin:0 auto;width:960px;">

	<div  style="width:220px;float:left;margin:0 10px;overflow:hidden;">

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='icon_l10'  iconname='icon_l10' />
<!-- 顶部结束 alltop.html -->

    </div>
	<div  style="width:600px;float:left;margin:0 10px;overflow:hidden;">

        <div style=" height:20px;"></div>

<style>
.mod_toolbar {
height:40px;
overflow:hidden;
}
.mod_sub_tab .current {
background:none repeat scroll 0 0 #056EA1;
color:#FFFFFF;
cursor:default;
font-weight:bold;
padding:0 10px;
}

.mod_sub_tab a {
display:inline-block;
}
.mod_sub_tab a {
display:inline-block;
padding:0 6px;
}
</style>
		
		<div class="mod_toolbar">
			<p class="mod_sub_tab ">
			
			<a class="current" href="?app=companyprot&act=index">产品信息列表</a>
			 | <a href="?app=companyprot&act=add">新增产品信息</a>
          <!--   | <a href="?app=companynew&act=cagrylist">新闻分类列表</a>
             | <a href="?app=companynew&act=cagryadd">新增新闻分类</a>-->
			
			
			</p>

		</div>


    <style type="text/css">
.search_box {
padding:10px;
vertical-align:middle;
}
.search_box .l {
float:left;
vertical-align:middle;
}
.search_box .r {
float:right;
}
</style>
    <form  method="post" action="?app=companyprot&act=index" >
      <div class="search_box">
        <div class="l"><img  src="{$web_view_dir}style/images/it_nav.gif" align="middle"> 排序方式:
          <select  onchange="ato_url('index.php?app=companyprot&act=index',this);" id="orderby">
            <option class="txtgreen" value="0">请选择...</option>
            <option value="timeasc" <!--{if ($v == 'timeasc')}-->selected<!--{/if}-->>时间升序↑</option>
            <option value="timedesc" <!--{if ($v == 'timedesc')}-->selected<!--{/if}-->>时间降序↓</option>
            <option value="showyes" <!--{if ($v == 'showyes')}-->selected<!--{/if}-->>显示</option>
            <option value="showno" <!--{if ($v == 'showno')}-->selected<!--{/if}-->>隐藏</option>
            <option value="topyes" <!--{if ($v == 'topyes')}-->selected<!--{/if}-->>置顶</option>
            <option value="topno" <!--{if ($v == 'topno')}-->selected<!--{/if}-->>不置顶</option>
            <option value="recyes" <!--{if ($v == 'recyes')}-->selected<!--{/if}-->>推荐</option>
            <option value="recno" <!--{if ($v == 'recno')}-->selected<!--{/if}-->>不推荐</option>
            <option value="indexyes" <!--{if ($v == 'indexyes')}-->selected<!--{/if}-->>主页头条</option>
            <option value="indexno" <!--{if ($v == 'indexno')}-->selected<!--{/if}-->>非主页头条</option>
          </select>
        </div>
        <div class="r">
          <input type="text" title="多个关键字用空格隔开" value="{$word}" name="word">
          <input type="submit" value="搜索标题" class="buton">
        </div>
      </div>
    </form>
    <div class="clear"></div>
    <table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
      <tbody>
    
        <tr>
          <td class="bold" width="40px" align="center" >ID</td>
          <td class="bold">产品名</td>

          <td width="25%" class="bold" align="center">发布时间</td>
          <td class="bold">操作</td>
        </tr>
        
        <!--{foreach($lw_data as $_key => $_value )}-->
        
        <tr  onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
          <td  align="center">{$_value.id}</td>
          <td><a href="{SITE_URL}/?app=prot&act=show&id={$_value.id}" target="_blank">{$_value.title}</a></td>

          <td>{$_value.add_time|dateymdgis}</td>
          <td><a href="?app=companyprot&act=edit&id={$_value.id}" >修改</a> <a href="?app=companyprot&act=del&id={$_value.id}" onClick="return confirm('确认删除此项？此操作无法恢复！');">删除</a></td>
        </tr>
        
        <!--{/foreach}-->
          
      <style type="text/css">

.p_bar {
margin-top:5px;
}
.p_info {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_curpage {
border:1px solid #CCCCCC;
color:#FF0000;
font-weight:bold;
margin:0 2px;
padding:3px 5px;
text-align:center;
}

.p_num  {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_redirect {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}

a {
color:#003366;
text-decoration:none;
}


</style>
      <tr>
        <td colspan="7"><div class="p_bar"> <span class="p_info">Total:&nbsp;<b>{$lw_page.total}</b>&nbsp;&nbsp;共{$lw_page.curr.num}/{$lw_page.totalpage}页</span> <a class="p_num" href="{$lw_page.head}">首页</a> <a class="p_num" href="{$lw_page.up}">&lt;&lt;</a> <a class="p_num" href="{$lw_page.up}">上一页</a> <span class="p_curpage">{$lw_page.curr.num}</span> <a  class="p_num" href="{$lw_page.down}">下一页</a> <a  class="p_num" href="{$lw_page.down}">&gt;&gt;</a> <a  class="p_num" href="{$lw_page.foot}">末页</a> </div></td>
      </tr>
        </tbody>
      
    </table>
<script language="javascript" type="text/javascript">

function to_url(url){
	document.location.href = url;
}

function ato_url(url,obj){
	document.location.href = url+"&v="+obj.value;
}


</script> 

	</div>

</div>



<!-- 顶部开始 footer.html -->
<phpscup:icon   htmlname='footer1'  iconname='footer' />
<!-- 顶部结束 footer.html -->


</body>
</html>
